package com.tsy.server.wayline.model.param;

import com.dji.sdk.cloudapi.wayline.TaskTypeEnum;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.tsy.server.wayline.model.enums.WaylineJobStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author sean
 * @version 0.3
 * @date 2021/12/22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class JobQueryParam {

    @Builder.Default
    private int page = 1;

    @JsonProperty("page_size")
    @Builder.Default
    private int pageSize = 10;

    private TaskTypeEnum taskType;

    private Integer status;

    private String jobName;

}
